package com.ruoyi.backend.mapper;

import com.ruoyi.backend.domain.dto.SysUserDto;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserManageMapper {

    /**
     * 获取用户列表
     *
     * @param sysUserDto
     * @return
     */
    public List<SysUser> selectUserList(SysUserDto sysUserDto);

    /**
     * 根据用户名统计用户数量
     *
     * @param sysUser
     * @return
     */
    public Integer countUserByUsername(SysUser sysUser);

}
